<?php

class Public_Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	protected $_name = 'admin';
	
	function _initAcl() {
		$registry = Zend_Registry::getInstance();
		$acl = $registry->get('acl');
		
		$acl->addResource('public:index');
    	
		$acl->allow(Core_Role::ROLE_GUEST, 'public:index', array(
			'like'
		));
		
    	$acl->allow(Core_Role::ROLE_USER, 'public:index', array(
    		
    	));
    	
    	$registry->set('acl', $acl);
	}
}

